package com.zhss.eshop.auth.mapper;

import com.zhss.eshop.auth.domain.model.AuthRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface AuthRoleMapper {
    int deleteByPrimaryKey(Long id);

    int insertSelective(AuthRole record);

    AuthRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AuthRole record);

    List<AuthRole> listByPage(@Param("name") String name, @Param("code") String code);
}
